#!/usr/bin/env node

const http = require('http'),
      url = require('url');
const addr  = 'http://localhost:3000';
const opt = url.parse(addr);
opt.method = 'post';

const req = http.request(opt,(res)=>{
  res.pipe(process.stdout);
})

req.end('userName=wangding&password=1234');
